package com.zjx.ssmdemo.ssm.dao;

import com.zjx.ssmdemo.ssm.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IUserDao {

    List<User>  queryAll();
     User querybyId(int userid);

     void insertUser(User user);

    int updateUserbyId(@Param("userId") long userId, @Param("username") String username);
}
